<template>
	<view class="mas1" :class="{active: props.showMask}" @catchtouchmove="moveHandle" @touchmove.stop.prevent="moveHandle">
		<u-loading color="red" size="60"></u-loading>
	</view>
</template>

<script setup>
	import { defineProps } from 'vue'
	let props =defineProps(['showMask'])
	function moveHandle() {
		return
	}
</script>

<style lang="scss" scoped>
	.mas1{
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: 99999999;
		background-color: #fff;
		text-align: center;
		padding: 100rpx;
		transition: 1s ease-out;
		&.active{
			opacity: 0;
			transition: 1s ease-out;
			z-index: -1;
		}
	}
</style>